package 面向对象思考;

public class CircleFromSimpleGeometricObject{
	
	private double radius;
	
	public CircleFromSimpleGeometricObject(double r){
		this.radius = r;
	}
	
	public double area() {
		return Math.PI * this.radius * this.radius;
	}
}
